import { Module } from '@nestjs/common';
import { RecordCalcService } from './record_calc.service';
import { RecordCalcController } from './record_calc.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { RecordCalcEntity } from './entities/record_calc.entity';
import { CompanyEntity } from 'src/company/entities/company.entity';
import { CompanyService } from 'src/company/company.service';
import { RecordCompanyEntity } from 'src/record_company/entities/record_company.entity';

@Module({
  controllers: [RecordCalcController],
  providers: [RecordCalcService, CompanyService],
  imports: [
    TypeOrmModule.forFeature([
      RecordCalcEntity,
      CompanyEntity,
      RecordCompanyEntity,
    ]),
  ],
})
export class RecordCalcModule {}
